<!DOCTYPE html>
<html>
<head>
    <title>直播录像记录 </title>
		<#include "/header.html">
</head>
<body>
<div id="webpage" v-cloak>
    <div v-show="appearance.showList">
        <div v-show="appearance.showControllBar" class="grid-btn">
            <span v-show="appearance.showSearchForm">
                <div class="form-group col-sm-2">
                    <input type="text" class="form-control" v-model="q._keyword" @keyup.enter="query" placeholder="关键字">
                </div>
                <a class="btn btn-default" @click="query">查询</a>
            </span>

			<#if shiro.hasPermission("live:livevideo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>
</div>
<script>
    set_grid_column_formatter('live/livevideo/duration',function (cellValue , options , rowData) {
        //console.log(rowData['startTime']+','+rowData['endTime'])
        var result = Math.ceil(rowData['duration']/60) + ' 分钟'
        return result;
    })
</script>
<script src="${request.contextPath}/statics/js/modules/live/livevideo.js?_${.now?long}"></script>
</body>
</html>